package com.sy.mapper;

import com.sy.entity.HomeFilePath;
import com.sy.entity.HomeworkFilePath;

import java.util.List;

/**
 * @Author:cxl
 * @Date: 2021/10/13 13:37
 */
public interface HomeworkFilePathMapper {

    boolean addHomeworkFilePath(HomeworkFilePath filePath);

    /**
     * @Author: ffq
     * @Date: 2021/10/14 15:24
     * @Param id  作业的id
     * @return 是否删除成功
     */
    boolean deleteHomeworkPathById(Integer id);

    /**
     * 根据作业id获取作业链接信息
     * @Author: cxl
     * @Param hid  作业的id
     *
     */
    List<String> getHomeFilePathByHid(Integer hid);
}
